package com.jt.www.model.woxuebao.toubao;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Author: cjw
 * @Description: 上下文保单对象
 * @Date: 20:34 2018/6/6
 */
public class ContextPolicy implements Serializable {

    /**
     * 保单号
     */
    private String policyNo = "";

    /**
     * 保费
     */
    private BigDecimal prem = BigDecimal.ZERO;

    /**
     * 保单开始日期
     */
    private Date startDate;

    /**
     * 保单结束日期
     */
    private Date endDate;

    /**
     * 发现期开始日期  无
     */
    private Date discoveryStartDate;

    /**
     * 发现期结束日期  无
     */
    private Date discoveryEndDate;

    /**
     * 追溯期  无
     */
    private List<ContextRetroactive> retroactives;

    /**
     * 签单日期
     */
    private Date issueDate;

    /**
     * 保单录入日期
     */
    private Date inputDate;

    /**
     * 保单验证码 无
     */
    private String verifyCode = "";

    /**
     * 机构编码  江泰
     */
    private String branchCode = "";

    /**
     * 渠道编码 edu
     */
    private String channalCode = "";

    /**
     * 续保标记
     */
    private String renewalFlag = "N";

    /**
     * 回访日期   无
     */
    private Date visitDate;

    /**
     * 回执日期  无
     */
    private Date receiptDate;

    /**
     * 保单生效日期
     */
    private Date cvalidate;

    /**
     * 录入人员  无
     */
    private String inputPerson;

    /**
     * 00在保 01 退保  02不在保过期
     */
    private String status = "";

    /**
     * 附件列表   电子保单
     */
    private List<ContextAttachment> attachments;

    public List<ContextAttachment> getAttachments() {
        return attachments;
    }

    public void setAttachments(List<ContextAttachment> attachments) {
        this.attachments = attachments;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getInputPerson() {
        return inputPerson;
    }

    public void setInputPerson(String inputPerson) {
        this.inputPerson = inputPerson;
    }

    public String getPolicyNo() {
        return policyNo;
    }

    public void setPolicyNo(String policyNo) {
        this.policyNo = policyNo;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Date getDiscoveryStartDate() {
        return discoveryStartDate;
    }

    public void setDiscoveryStartDate(Date discoveryStartDate) {
        this.discoveryStartDate = discoveryStartDate;
    }

    public Date getDiscoveryEndDate() {
        return discoveryEndDate;
    }

    public void setDiscoveryEndDate(Date discoveryEndDate) {
        this.discoveryEndDate = discoveryEndDate;
    }

    public List<ContextRetroactive> getRetroactives() {
        return retroactives;
    }

    public void setRetroactives(List<ContextRetroactive> retroactives) {
        this.retroactives = retroactives;
    }

    public Date getIssueDate() {
        return issueDate;
    }

    public void setIssueDate(Date issueDate) {
        this.issueDate = issueDate;
    }

    public Date getInputDate() {
        return inputDate;
    }

    public void setInputDate(Date inputDate) {
        this.inputDate = inputDate;
    }

    public String getVerifyCode() {
        return verifyCode;
    }

    public void setVerifyCode(String verifyCode) {
        this.verifyCode = verifyCode;
    }

    public String getBranchCode() {
        return branchCode;
    }

    public void setBranchCode(String branchCode) {
        this.branchCode = branchCode;
    }

    public String getChannalCode() {
        return channalCode;
    }

    public void setChannalCode(String channalCode) {
        this.channalCode = channalCode;
    }

    public String getRenewalFlag() {
        return renewalFlag;
    }

    public void setRenewalFlag(String renewalFlag) {
        this.renewalFlag = renewalFlag;
    }

    public Date getVisitDate() {
        return visitDate;
    }

    public void setVisitDate(Date visitDate) {
        this.visitDate = visitDate;
    }

    public Date getReceiptDate() {
        return receiptDate;
    }

    public void setReceiptDate(Date receiptDate) {
        this.receiptDate = receiptDate;
    }

    public Date getCvalidate() {
        return cvalidate;
    }

    public void setCvalidate(Date cvalidate) {
        this.cvalidate = cvalidate;
    }

    public BigDecimal getPrem() {
        return prem;
    }

    public void setPrem(BigDecimal prem) {
        this.prem = prem;
    }

    @Override
    public String toString() {
        return "ContextPolicy{" +
                "policyNo='" + policyNo + '\'' +
                ", prem=" + prem +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", discoveryStartDate=" + discoveryStartDate +
                ", discoveryEndDate=" + discoveryEndDate +
                ", retroactives=" + retroactives +
                ", issueDate=" + issueDate +
                ", inputDate=" + inputDate +
                ", verifyCode='" + verifyCode + '\'' +
                ", branchCode='" + branchCode + '\'' +
                ", channalCode='" + channalCode + '\'' +
                ", renewalFlag='" + renewalFlag + '\'' +
                ", visitDate=" + visitDate +
                ", receiptDate=" + receiptDate +
                ", cvalidate=" + cvalidate +
                ", inputPerson='" + inputPerson + '\'' +
                ", status='" + status + '\'' +
                ", attachments=" + attachments +
                '}';
    }
}
